<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>JavaCuthair</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="description" content="Description">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <link rel="stylesheet" href="./_css/vue.css">
    <link rel="stylesheet" href="./_css/loading.css">
    <link rel="stylesheet" href="./_css/markdown.css">
</head>
<body>
    <div id="app">
        <div class="preloader">
            <div class="cs-loader">
                <div class="cs-loader-inner">
                    <label>	●</label>
                    <label>	●</label>
                    <label>	●</label>
                    <label>	●</label>
                    <label>	●</label>
                    <label>	●</label>
                </div>
            </div>
        </div>
    </div>

    <script src="./_js/plugins/mermaid.min.js"></script>
    <script>
        var num = 0;
        mermaid.initialize({ startOnLoad: false });
        window.$docsify = {
            name: 'JavaCuthair',
            repo: 'https://gitee.com/MagicDuck/JavaCuthair',
            loadSidebar: true,
  
            subMaxLevel: 4,
            coverpage: false,
            // 完整配置参数
            search: {
                maxAge: 86400000, // 过期时间，单位毫秒，默认一天
                paths: 'auto',
                placeholder: 'Type to search',

                // 支持本地化
                placeholder: {
                    '/zh-cn/': '搜索',
                    '/': 'Type to search'
                },

                noData: 'No Results!',

                // 支持本地化
                noData: {
                    '/zh-cn/': '找不到结果',
                    '/': 'No Results'
                },

                // 搜索标题的最大层级, 1 - 6
                depth: 6,
            },
            markdown: {
              renderer: {
                code: function(code, lang) {
                  if (lang === "mermaid") {
                    return (
                      '<div class="mermaid">' + mermaid.render('mermaid-svg-' + num++, code) + "</div>"
                    );
                  }
                  return this.origin.code.apply(this, arguments);
                }
              }
            }
        }
    </script>
    <script src="./_js/docsify.min.js"></script>
    <!-- 代码高亮 Prism -->
    <script src="./_js/prism/prism-bash.min.js"></script>
    <script src="./_js/prism/prism-c.min.js"></script>
    <script src="./_js/prism/prism-cpp.min.js"></script>
    <script src="./_js/prism/prism-java.min.js"></script>
    <script src="./_js/prism/prism-sql.min.js"></script>
    <script src="./_js/prism/prism-flow.min.js"></script>
    <!-- 插件列表 -->
    <script src="./_js/plugins/search.min.js"></script>
    <script src="./_js/plugins/zoom-image.min.js"></script>
    <script src="./_js/plugins/countable.js"></script>
    <script src="./_js/plugins/docsify-pagination.min.js"></script>
</body>
</html>
